package com.wanjia.bpsapi.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 * 商品报价表---二次升级
 * </p>
 *
 * @author wyn
 * @since 2023-02-13
 */
@TableName("wj_product_offer")
@Schema(title = "WjProductOffer对象", description = "商品报价表---二次升级")
@Data
public class WjProductOffer implements Serializable {

    @TableId(type = IdType.INPUT)
    private Integer id;

    @Schema(title = "用户ID")
    private Integer uid;

    @Schema(title = "供应商ID")
    private Integer supplierId;

    @Schema(title = "商品ID")
    private Integer productId;

    @Schema(title = "商品规格参数")
    private String suks;

    @Schema(title = "报价")
    private BigDecimal price;

    @Schema(title = "有效期(天)")
    private Integer validityDay;

    @Schema(title = "状态:,0=待采用,1=已采用,2=已过期")
    private Boolean status;

    @Schema(title = "是否删除")
    private Boolean isDel;

    @Schema(title = "添加时间")
    private Integer addTime;

    @Schema(title = "过期时间")
    private Integer validityTime;

    @Schema(title = "库存数量")
    private Long stock;

    @Schema(title = "库存单位")
    private String suk;
}
